--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit 17bcedcf8788fcb823e9e907904e91f9f554779b
Parents : 875f05d
Author : Sudo-Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-03-09T15:28:08-05:00
Refine build condition in Docker workflow to trigger only on 'dev' branch
Changes
Diff
diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml
index 95f9e5c3..161c6aa0 100644
--- a/.gitea/workflows/docker.yml
+++ b/.gitea/workflows/docker.yml
@@ -86,7 +86,7 @@ jobs:
trivy image --exit-code 0 "$IMAGE_TAG"
build-dev:
- if: github.event_name == 'pull_request' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
+ if: github.ref == 'refs/heads/dev'
runs-on: ubuntu-latest
permissions:
contents: read
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────